* {
    margin: 0;
    padding: 0;
}

.box {
    margin: 50px auto;
    width: 800px;
}

.box>label {
    font-size: 20px;
}

.box>input {
    height: 30px;
    width: 300px;
    /* 首行缩进 */
    text-indent: 15px;
    border: 1px solid #808080;
    /* 外边框 轮廓 */
    outline: none;
}

.box>span {
    position: relative;
    right: 5px;
    display: inline-block;
    /* 垂直方向对齐方式 */
    vertical-align: middle;
    width: 300px;
    line-height: 30px;
    text-indent: 20px;
    border: 1px solid #808080;
    background-color: #808080;
    color: #AAAAAA;
}

.box>span.wrong {
    display: inline-block;
    border: 1px solid #DDDCD0;
    color: red;
    background: #FFDCD0 url('../img/wrong.png') no-repeat left;
}
.box>span.right {
    display: inline-block;
    border: 1px solid#AAFFDF;
    color: green;
    background: #DFFFDF url('../img/right.png') no-repeat left;
}